/*
 * @Author: xiaodong 565071984@qq.com
 * @Date: 2022-05-16 21:07:46
 * @LastEditors: xiaodong 565071984@qq.com
 * @LastEditTime: 2022-05-17 22:29:18
 * @FilePath: /小票/src/api/agents.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import request from '@/utils/request'

// 运营平台主页统计(同样适用于订单查询)
export function orderlist(data) {
  return request({
    url: '/Order/orderList',
    method: 'post',
    data,
  })
}
// 玩法
export function getScenes(data) {
  return request({
    url: '/Scene/getScenes',
    method: 'post',
    data,
  })
}
// 添加玩法
export function addScene(data) {
  return request({
    url: '/Scene/addScene',
    method: 'post',
    data,
  })
}
// 修改玩法
export function editScene(data) {
  return request({
    url: '/Scene/editScene',
    method: 'post',
    data,
  })
}
// 删除玩法
export function delScene(data) {
  return request({
    url: '/Scene/delScene',
    method: 'post',
    data,
  })
}
// 修改玩法
export function delSceneNum(data) {
  return request({
    url: '/Scene/delSceneNum',
    method: 'post',
    data,
  })
}

// 获取场次
export function getSceneNumList(data) {
  return request({
    url: '/Scene/getSceneNumList',
    method: 'post',
    data,
  })
}

// 添加场次
export function addSceneNum(data) {
  return request({
    url: '/Scene/addSceneNum',
    method: 'post',
    data,
  })
}
// 修改场次
export function editSceneNum(data) {
  return request({
    url: '/Scene/editSceneNum',
    method: 'post',
    data,
  })
}

// 添加升级包
export function addPackage(data) {
  return request({
    url: '/Package/addPackage',
    method: 'post',
    data,
  })
}
// 添加升级包
export function editPackage(data) {
  return request({
    url: '/Package/editPackage',
    method: 'post',
    data,
  })
}

// 添加升级包
export function getPackageList(data) {
  return request({
    url: '/Package/getPackageList',
    method: 'post',
    data,
  })
}

// 添加升级包
export function delPackage(data) {
  return request({
    url: '/Package/delPackage',
    method: 'post',
    data,
  })
}


// 获取开奖
export function getKj(data) {
  return request({
    url: '/Tenant/getKj',
    method: 'post',
    data,
  })
}


// 添加开奖
export function addKj(data) {
  return request({
    url: '/Tenant/addKj',
    method: 'post',
    data,
  })
}
// 获取开奖
export function deltTj(data) {
  return request({
    url: '/Tenant/deltTj',
    method: 'post',
    data,
  })
}


// 添加开奖
export function addGroup(data) {
  return request({
    url: '/Tenant/addGroup',
    method: 'post',
    data,
  })
}
// 获取开奖
export function getGroup(data) {
  return request({
    url: '/Tenant/getGroup',
    method: 'post',
    data,
  })
}
// 添加开奖
export function delGroup(data) {
  return request({
    url: '/Tenant/delGroup',
    method: 'post',
    data,
  })
}
// 获取开奖
export function editGroup(data) {
  return request({
    url: '/Tenant/editGroup',
    method: 'post',
    data,
  })
}
// 租户下设备账号
export function getDevList(data) {
  return request({
    url: '/Tenant/getDevList',
    method: 'post',
    data,
  })
}


export function getAppOrder(data) {
  return request({
    url: '/Order/getAppOrder',
    method: 'post',
    data,
  })
}